﻿/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace PickGold.Util.WordSpliter
{
	/// <summary>
	/// 关键字词性标志
	/// </summary>
	[Flags]
	public enum KeywordFlags
	{
		/// <summary>
		/// 形容词 形语素
		/// </summary>
		[Description("形容词，形语素")]
		Adjective = BitUtil.B32_30,

		/// <summary>
		/// 区别词 区别语素
		/// </summary>
		[Description("区别词，区别语素")]
		Distinguishing = BitUtil.B32_29,

		/// <summary>
		/// 连词 连语素
		/// </summary>
		[Description("连词，连语素")]
		Conjunction = BitUtil.B32_28,

		/// <summary>
		/// 副词 副语素
		/// </summary>
		[Description("副词，副语素")]
		Adverb = BitUtil.B32_27,

		/// <summary>
		/// 叹词 叹语素
		/// </summary>
		[Description("叹词，叹语素")]
		Interjection = BitUtil.B32_26,

		/// <summary>
		/// 方位词 方位语素
		/// </summary>
		[Description("方位词，方位语素")]
		Orientation = BitUtil.B32_25,

		/// <summary>
		/// 成语
		/// </summary>
		[Description("成语")]
		Idioms = BitUtil.B32_24,

		/// <summary>
		/// 习语
		/// </summary>
		[Description("习语")]
		Idiom = BitUtil.B32_23,

		/// <summary>
		/// 数词 数语素
		/// </summary>
		[Description("数词，数语素")]
		Numeral = BitUtil.B32_22,

		/// <summary>
		/// 数量词
		/// </summary>
		[Description("数量词")]
		Quantifier = BitUtil.B32_21,

		/// <summary>
		/// 名词 名语素
		/// </summary>
		[Description("名词，名语素")]
		Nouns = BitUtil.B32_20,

		/// <summary>
		/// 拟声词
		/// </summary>
		[Description("拟声词")]
		Onomatopoeia = BitUtil.B32_19,

		/// <summary>
		/// 介词
		/// </summary>
		[Description("介词")]
		Preposition = BitUtil.B32_18,

		/// <summary>
		/// 量词 量语素
		/// </summary>
		[Description("量词，量语素")]
		Classifier = BitUtil.B32_17,

		/// <summary>
		/// 代词 代语素
		/// </summary>
		[Description("代词，代语素")]
		Pronoun = BitUtil.B32_16,

		/// <summary>
		/// 处所词
		/// </summary>
		[Description("处所词")]
		Place = BitUtil.B32_15,

		/// <summary>
		/// 时间词
		/// </summary>
		[Description("时间词")]
		Time = BitUtil.B32_14,

		/// <summary>
		/// 助词 助语素
		/// </summary>
		[Description("助词，助语素")]
		Auxiliary = BitUtil.B32_13,

		/// <summary>
		/// 动词 动语素
		/// </summary>
		[Description("动词，动语素")]
		Verb = BitUtil.B32_12,

		/// <summary>
		/// 标点符号
		/// </summary>
		[Description("标点符号")]
		Punctuation = BitUtil.B32_11,

		/// <summary>
		/// 非语素字
		/// </summary>
		[Description("非语素字")]
		Meaningless = BitUtil.B32_10,

		/// <summary>
		/// 语气词 语气语素
		/// </summary>
		[Description("语气词 语气语素")]
		Modal = BitUtil.B32_09,

		/// <summary>
		/// 状态词
		/// </summary>
		[Description("状态词")]
		State = BitUtil.B32_08,

		/// <summary>
		/// 人名
		/// </summary>
		[Description("人名")]
		Name = BitUtil.B32_07,

		/// <summary>
		/// 地名
		/// </summary>
		[Description("地名")]
		Location = BitUtil.B32_06,

		/// <summary>
		/// 机构团体
		/// </summary>
		[Description("机构团体")]
		Organization = BitUtil.B32_05,

		/// <summary>
		/// 外文字符
		/// </summary>
		[Description("外文字符")]
		Foreign = BitUtil.B32_04,

		/// <summary>
		/// 其他专名
		/// </summary>
		[Description("其他专名")]
		Proper = BitUtil.B32_03,

		/// <summary>
		/// 前接成分
		/// </summary>
		[Description("前接成分")]
		Prefix = BitUtil.B32_02,

		/// <summary>
		/// 后接成分
		/// </summary>
		[Description("后接成分")]
		Suffix = BitUtil.B32_01,

		/// <summary>
		/// 未知词性
		/// </summary>
		[Description("未知词性")]
		None = BitUtil.B32_ZERO,
	}


}
